package com.yuyou.fn.electronicinvoice.service;

import com.github.wens.framework.service.ISuperService;
import com.github.wens.mybatisplus.plugins.Page;
import com.yuyou.fn.electronicinvoice.entity.FinanceSubject;
import com.yuyou.fn.electronicinvoice.vo.FinanceSubjectQueryVo;
import com.yuyou.fn.electronicinvoice.vo.FinanceSubjectSaveVo;

import java.util.List;

/**
 *
 * FinanceSubject 表数据服务层接口
 *
 */
public interface IFinanceSubjectService extends ISuperService<FinanceSubject,Long> {

    void  saveOrUpdate(FinanceSubjectSaveVo financeSubjectSaveVo);

    void changeSubjectStatus(Long financeSubjectId,Integer subjectStatus);

    void checkCampus(List<Long> campusIds);

    Page<FinanceSubject> findByQueryVo(FinanceSubjectQueryVo financeSubjectQueryVo,int pageNo,int pageSize);

    FinanceSubject findByCampusIdAndSubjectStatus(String campusId,Integer subjectStatus);
}